package c.j.a.c;

/* compiled from: DownloadComponentManager */
public class n implements Runnable {
    public n(o oVar) {
    }

    /* JADX WARNING: Missing exception handler attribute for start block: B:23:0x006b */
    /* JADX WARNING: Can't wrap try/catch for region: R(3:17|(3:19|(3:21|22|34)(1:33)|32)(0)|23) */
    public void run() {
        /*
        r9 = this;
        r0 = c.j.a.c.o.class;
        monitor-enter(r0);
        r1 = "sp_ad_download_event";
        r2 = "sp_download_finish_cache";
        r3 = "sp_delay_operation_info";
        r4 = "sp_ttdownloader_md5";
        r5 = "sp_name_installed_app";
        r6 = "misc_config";
        r7 = "sp_ad_install_back_dialog";
        r8 = "sp_appdownloader";
        r1 = new java.lang.String[]{r1, r2, r3, r4, r5, r6, r7, r8};	 Catch:{ all -> 0x006b }
        r2 = 0;
        r3 = 0;
    L_0x0019:
        r4 = 8;
        if (r3 >= r4) goto L_0x0037;
    L_0x001d:
        r4 = r1[r3];	 Catch:{ all -> 0x006b }
        r5 = c.j.a.c.g.y.a();	 Catch:{ all -> 0x006b }
        r4 = r5.getSharedPreferences(r4, r2);	 Catch:{ all -> 0x006b }
        if (r4 == 0) goto L_0x0034;
    L_0x0029:
        r4 = r4.edit();	 Catch:{ all -> 0x006b }
        r4 = r4.clear();	 Catch:{ all -> 0x006b }
        r4.apply();	 Catch:{ all -> 0x006b }
    L_0x0034:
        r3 = r3 + 1;
        goto L_0x0019;
    L_0x0037:
        r1 = c.j.a.d.b.e.b.x();	 Catch:{ all -> 0x006b }
        r2 = r1 instanceof c.j.a.d.b.j.h;	 Catch:{ all -> 0x006b }
        if (r2 != 0) goto L_0x0041;
    L_0x003f:
        monitor-exit(r0);	 Catch:{ all -> 0x006d }
        return;
    L_0x0041:
        r1 = (c.j.a.d.b.j.h) r1;	 Catch:{ all -> 0x006b }
        r1 = r1.a;	 Catch:{ all -> 0x006b }
        r1 = r1.a;	 Catch:{ all -> 0x006b }
        r2 = r1.size();	 Catch:{ all -> 0x006b }
    L_0x004b:
        r2 = r2 + -1;
        if (r2 < 0) goto L_0x006b;
    L_0x004f:
        r3 = r1.keyAt(r2);	 Catch:{ all -> 0x006b }
        r3 = r1.get(r3);	 Catch:{ all -> 0x006b }
        r3 = (com.ss.android.socialbase.downloader.g.c) r3;	 Catch:{ all -> 0x006b }
        if (r3 == 0) goto L_0x004b;
    L_0x005b:
        r4 = c.j.a.c.g.y.a();	 Catch:{ all -> 0x006b }
        r4 = c.j.a.d.b.e.i.a(r4);	 Catch:{ all -> 0x006b }
        r3 = r3.g0();	 Catch:{ all -> 0x006b }
        r4.m(r3);	 Catch:{ all -> 0x006b }
        goto L_0x004b;
    L_0x006b:
        monitor-exit(r0);	 Catch:{ all -> 0x006d }
        return;
    L_0x006d:
        r1 = move-exception;
        monitor-exit(r0);	 Catch:{ all -> 0x006d }
        throw r1;
        */
        throw new UnsupportedOperationException("Method not decompiled: c.j.a.c.n.run():void");
    }
}
